clean up enum format, remove extra comma, this keeps scanner scripts from
authorHavoc Pennington <hp@pobox.com>
Sat, 15 Apr 2000 16:22:52 +0000 (16:22 +0000)
committerHavoc Pennington <hp@src.gnome.org>
Sat, 15 Apr 2000 16:22:52 +0000 (16:22 +0000)
2000-04-15  Havoc Pennington  <hp@pobox.com>

* gdk/gdkdnd.h: clean up enum format, remove extra comma,
this keeps scanner scripts from getting confused.

* gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
data, rather than void

ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/gdkdnd.h
gdk/gdkdraw.c
gdk/gdkdrawable.h

index 32cac4d7772200b5a5e98fd182f01c23fd497d45..bbb60861eb0bd6b10bd0ca09cb82d6aceede76e3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2000-04-15  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/gdkdnd.h: clean up enum format, remove extra comma, 
+       this keeps scanner scripts from getting confused.
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
+       data, rather than void
+
 2000-04-15  Tor Lillqvist  <tml@iki.fi>
 
        * gtk/gtkclist.c (gtk_clist_motion)
index 32cac4d7772200b5a5e98fd182f01c23fd497d45..bbb60861eb0bd6b10bd0ca09cb82d6aceede76e3 100644 (file)
@@ -1,3 +1,11 @@
+2000-04-15  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/gdkdnd.h: clean up enum format, remove extra comma, 
+       this keeps scanner scripts from getting confused.
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
+       data, rather than void
+
 2000-04-15  Tor Lillqvist  <tml@iki.fi>
 
        * gtk/gtkclist.c (gtk_clist_motion)
index 32cac4d7772200b5a5e98fd182f01c23fd497d45..bbb60861eb0bd6b10bd0ca09cb82d6aceede76e3 100644 (file)
@@ -1,3 +1,11 @@
+2000-04-15  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/gdkdnd.h: clean up enum format, remove extra comma, 
+       this keeps scanner scripts from getting confused.
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
+       data, rather than void
+
 2000-04-15  Tor Lillqvist  <tml@iki.fi>
 
        * gtk/gtkclist.c (gtk_clist_motion)
index 32cac4d7772200b5a5e98fd182f01c23fd497d45..bbb60861eb0bd6b10bd0ca09cb82d6aceede76e3 100644 (file)
@@ -1,3 +1,11 @@
+2000-04-15  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/gdkdnd.h: clean up enum format, remove extra comma, 
+       this keeps scanner scripts from getting confused.
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
+       data, rather than void
+
 2000-04-15  Tor Lillqvist  <tml@iki.fi>
 
        * gtk/gtkclist.c (gtk_clist_motion)
index 32cac4d7772200b5a5e98fd182f01c23fd497d45..bbb60861eb0bd6b10bd0ca09cb82d6aceede76e3 100644 (file)
@@ -1,3 +1,11 @@
+2000-04-15  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/gdkdnd.h: clean up enum format, remove extra comma, 
+       this keeps scanner scripts from getting confused.
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
+       data, rather than void
+
 2000-04-15  Tor Lillqvist  <tml@iki.fi>
 
        * gtk/gtkclist.c (gtk_clist_motion)
index 32cac4d7772200b5a5e98fd182f01c23fd497d45..bbb60861eb0bd6b10bd0ca09cb82d6aceede76e3 100644 (file)
@@ -1,3 +1,11 @@
+2000-04-15  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/gdkdnd.h: clean up enum format, remove extra comma, 
+       this keeps scanner scripts from getting confused.
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
+       data, rather than void
+
 2000-04-15  Tor Lillqvist  <tml@iki.fi>
 
        * gtk/gtkclist.c (gtk_clist_motion)
index 32cac4d7772200b5a5e98fd182f01c23fd497d45..bbb60861eb0bd6b10bd0ca09cb82d6aceede76e3 100644 (file)
@@ -1,3 +1,11 @@
+2000-04-15  Havoc Pennington  <hp@pobox.com>
+
+       * gdk/gdkdnd.h: clean up enum format, remove extra comma, 
+       this keeps scanner scripts from getting confused.
+
+       * gdk/gdkdraw.c (gdk_drawable_get_data): This should return the
+       data, rather than void
+
 2000-04-15  Tor Lillqvist  <tml@iki.fi>
 
        * gtk/gtkclist.c (gtk_clist_motion)
index 3d5e802e9bea4b42a34f2b77c5dbea7401446910..916bd2e8e0edc60c4aab1adf787bb82a4e8dc3b6 100644 (file)
@@ -9,7 +9,8 @@ extern "C" {
 
 typedef struct _GdkDragContext        GdkDragContext;
 
-typedef enum {
+typedef enum
+{
   GDK_ACTION_DEFAULT = 1 << 0,
   GDK_ACTION_COPY    = 1 << 1,
   GDK_ACTION_MOVE    = 1 << 2,
@@ -18,14 +19,15 @@ typedef enum {
   GDK_ACTION_ASK     = 1 << 5
 } GdkDragAction;
 
-typedef enum {
+typedef enum
+{
   GDK_DRAG_PROTO_MOTIF,
   GDK_DRAG_PROTO_XDND,
   GDK_DRAG_PROTO_ROOTWIN,        /* A root window with nobody claiming
                                   * drags */
   GDK_DRAG_PROTO_NONE,           /* Not a valid drag window */
   GDK_DRAG_PROTO_WIN32_DROPFILES, /* The simple WM_DROPFILES dnd */
-  GDK_DRAG_PROTO_OLE2,           /* The complex OLE2 dnd (not implemented) */
+  GDK_DRAG_PROTO_OLE2            /* The complex OLE2 dnd (not implemented) */
 } GdkDragProtocol;
 
 /* Structure that holds information about a drag in progress.
index baec9d62d1c313081c8228d97062868f92ede65d..03517f48a06353670eced1b955ec3c8c685169cd 100644 (file)
@@ -63,11 +63,11 @@ gdk_drawable_set_data (GdkDrawable   *drawable,
   g_dataset_set_data_full (drawable, key, data, destroy_func);
 }
 
-void          
+gpointer
 gdk_drawable_get_data (GdkDrawable   *drawable,
                       const gchar   *key)
 {
-  g_dataset_get_data (drawable, key);
+  return g_dataset_get_data (drawable, key);
 }
 
 GdkDrawableType
index 3b05d24a27b7b51442481ff87f29aab4029def9c..a1c5fd3f2b4cd10e238a1d6a5b614e098b2fc51e 100644 (file)
@@ -120,7 +120,7 @@ void            gdk_drawable_set_data     (GdkDrawable    *drawable,
                                           const gchar    *key,
                                           gpointer       data,
                                           GDestroyNotify  destroy_func);
-void            gdk_drawable_get_data     (GdkDrawable    *drawable,
+gpointer        gdk_drawable_get_data     (GdkDrawable    *drawable,
                                           const gchar    *key);
 
 void            gdk_drawable_get_size     (GdkWindow     *drawable,